#!/usr/bin/env node

const pi=Math.PI;

module.exports=(r)=>{
  let circle={
    area(){
      return pi*r*r;
    },
    diameter(){
      return 2*r;
    },
    circumference(){
      return 2*pi*r;
    }
  }
  return circle;
}
console.log(module);
